package com.lcy.app.common.util;

import java.util.Collection;

public class ListUtil {
    public static boolean isValid(Collection<?> collection) {
        return collection != null && !collection.isEmpty();
    }

    public static boolean isInvalid(Collection<?> collection) {
        return !isValid(collection);
    }
}
